﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBase.MyProject.Domain.BOM
{
    /// <summary>
    /// BOM信息表
    /// </summary>
    public class BomInfo
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int BId {  get; set; }
        /// <summary>
        /// BOM编号
        /// </summary>
        public string BomCode {  get; set; }
        /// <summary>
        /// 默认BOM
        /// </summary>
        public string DefaultBom{ get; set; }
        /// <summary>
        /// 成品类型
        /// </summary>
        public string ProductType{ get; set; }
        /// <summary>
        /// 成品名称
        /// </summary>
        public string ProductName{ get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remarks{ get; set; }
        /// <summary>
        /// 日产量
        /// </summary>
        public int ProductionNum{ get; set; }
        /// <summary>
        /// BOM主题
        /// </summary>
        public string BomTheme{ get; set; }
        /// <summary>
        /// 版本
        /// </summary>
        public string BomVersion{ get; set; }
        /// <summary>
        /// 预估成本
        /// </summary>
        public string EstimatedCost{ get; set; }
        /// <summary>
        /// 当前库存
        /// </summary>
        public int Inventory {get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateName{ get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate{ get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName{ get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateDate{ get; set; }
    }
}
